home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 8 / Revista CD Expert nº 08 CD1.iso / Utilitarios / Office / Where Is It / SETUP.EXE / %MAINDIR% / DescAPI / DescAPI.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-04-11  |  1.3 KB  |  52 lines

  1. #define MAXDESCLENGTH   4096
  2.  
  3. #define ptReserved    0
  4. #define ptSameFile    1
  5. #define ptParentItem  2
  6. #define ptItemList    3
  7. #define ptDiskInfo    4
  8.  
  9. #define DT_FLOPPY525_360     0
  10. #define DT_FLOPPY525_12      1
  11. #define DT_FLOPPY35_720      2
  12. #define DT_FLOPPY525_8SD     3
  13. #define DT_FLOPPY525_8DD     4
  14. #define DT_HARDDISK          5
  15. #define DT_TAPEDRIVE         6
  16. #define DT_FLOPPY35_144      7
  17. #define DT_OPTICAL           8
  18. #define DT_FLOPPY35_288      9
  19. #define DT_CDROM             10
  20. #define DT_NETWORK           11
  21. #define DT_RAMDISK           12
  22. #define DT_REMOVABLE         13
  23. #define DT_ZIPDRIVE          14
  24. #define DT_JAZDRIVE          15
  25. #define DT_ZIPDRIVEPLUS      16
  26. #define DT_SEAGATEDIRECTTAPE 17
  27. #define DT_LS120             18
  28. #define DT_MOS320            19
  29. #define DT_MOS332            20
  30. #define DT_M2531A            21
  31. #define DT_JAZ2DRIVE         22
  32. #define DT_UNKNOWN           255
  33.  
  34. typedef struct {
  35.   LPCSTR lpszRootPath;
  36.   LPCSTR lpszVirtualRoot;
  37.   LPCSTR lpszVolumeLabel;
  38.   LPCSTR lpszFSName;
  39.   INT iMaxNameLength;
  40.   DWORD dwSerialNumber;
  41.   WORD wDiskNum;
  42.   WORD wMediaType;
  43.   INT iBytesPerSector;
  44.   INT iSectorsPerCluster;
  45.   INT iTotalClusters;
  46.   INT iFreeClusters;
  47.   INT iNumberOfFiles;
  48.   INT iNumberOfCompressedFiles;
  49.   WORD wNumberOfDirs;
  50. } DISKINFORECORD, FAR *LPDISKINFOREC;
  51.  
  52.